package com.ynkbny.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 设备的属性快照-实体
 *
 * @author : juzipi123
 * @date : 2023-7-26
 */
@ApiModel(value = "设备的属性快照", description = "")
@TableName("device_attribute")
@Data
public class DeviceAttribute implements Serializable {

    private static final long serialVersionUID = -2198953053619876218L;

    /**
     * 项目ID 
     */
    @ApiModelProperty(value = "项目ID", example = "")
    private String projectId;
    
    /**
     * 区域ID 
     */
    @ApiModelProperty(value = "区域ID", example = "")
    private String regionId;
    
    /**
     * 设备ID 
     */
    @ApiModelProperty(value = "设备ID", example = "")
    private String deviceId;
    
    /**
     * 设备类型 
     */
    @ApiModelProperty(value = "设备类型", example = "")
    private String deviceTypeId;
    
    /**
     * 设备类型 
     */
    @ApiModelProperty(value = "设备类型", example = "")
    private String deviceTypeName;
    
    /**
     * 负载率（如果存在) 
     */
    @ApiModelProperty(value = "负载率（如果存在)", example = "")
    private String workload;
    
    /**
     * 当前的总电度（如果存在） 
     */
    @ApiModelProperty(value = "当前的总电度（如果存在）", example = "")
    private String elec;
    
    /**
     * 实时故障参数个数 
     */
    @ApiModelProperty(value = "实时故障参数个数", example = "")
    private String errorParamNum;
    
    /**
     * 实时报警参数个数 
     */
    @ApiModelProperty(value = "实时报警参数个数", example = "")
    private String warnParamNum;
    
    /**
     * 设备总故障时间 
     */
    @ApiModelProperty(value = "设备总故障时间", example = "")
    private String errorTimeSum;
    
    /**
     * 设备总正常运行时间 
     */
    @ApiModelProperty(value = "设备总正常运行时间", example = "")
    private String runTimeSum;
    
    /**
     * 总报警次数 
     */
    @ApiModelProperty(value = "总报警次数", example = "")
    private String warnEventSum;
    
    /**
     * 总故障次数 
     */
    @ApiModelProperty(value = "总故障次数", example = "")
    private String errorEventSum;
    
    /**
     * 设备状态 0：运行 1：停止 2：故障 
     */
    @ApiModelProperty(value = "设备状态 0：运行 1：停止 2：故障", example = "")
    private String status;
    
    /**
     * 时间戳 
     */
    @ApiModelProperty(value = "时间戳", example = "")
    private String timestamp;
    
    /**
     * 属性质量标志（0为正常） 
     */
    @ApiModelProperty(value = "属性质量标志（0为正常）", example = "")
    private String qs;
    
    /**
     * 属性真实值 
     */
    @ApiModelProperty(value = "属性真实值", example = "")
    private String realvalue;
    
    /**
     * 属性标识 
     */
    @ApiModelProperty(value = "属性标识", example = "")
    private String flag;
    
    /**
     * 属性ID 
     */
    @ApiModelProperty(value = "属性ID", example = "")
    private String attributeId;
    
    /**
     * 属性名称 
     */
    @ApiModelProperty(value = "属性名称", example = "")
    private String paramName;
    
    /**
     * 监控值 
     */
    @ApiModelProperty(value = "监控值", example = "")
    private String value;
    
    /**
     * 数值单位 
     */
    @ApiModelProperty(value = "数值单位", example = "")
    private String unitName;
    
    /**
     * 数据类型 AI DI AO DO AD(32AI) AM(MAO) DM(MDO) 
     */
    @ApiModelProperty(value = "数据类型 AI DI AO DO AD(32AI) AM(MAO) DM(MDO)", example = "")
    private String dataType;
    
}